package com.vueblog.vo;

import com.vueblog.po.Blog;

import java.util.ArrayList;
import java.util.List;

public class Archives {
    private int year;
    private List<SimpleBlog> blogs = new ArrayList<>();

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public List<SimpleBlog> getBlogs() {
        return blogs;
    }

    public void setBlogs(List<SimpleBlog> blogs) {
        this.blogs = blogs;
    }

    @Override
    public String toString() {
        return "Archives{" +
                "year=" + year +
                ", blogs=" + blogs +
                '}';
    }
}
